Repository navigation
Cycling hotfix2 - #29
Conversation
|
Not entirely sure why the tests are failing -- they look fine here. The tests inside |
|
Ah I see what the issue is; the pytest-mpl stuff needs to be removed from the workflow. |
|
It may be worth vendoring our own pytest plugin or making our own decorator. We'll be heavy users. |
Good idea! Was working already working on this and currently have an issue tracker on pytest-mpl. |
|
I figured out that pytest-mpl does in fact allow you to overwrite the style. I have done some local tests and it seems to be working nicely with (in nushell): pytest --mpl-generate-path=ultraplot/tests/baseline --mpl-default-style (python -c "import ultraplot as plt; print(plt.config.Configurator())")
|
|
Oh nice! Is there a way to set those arguments as a default in our pyproject.toml? |
|
Yes will add it in another PR. I do expect that some stuff will most likely break still. I manually inspected the images a few times and some of them still look a bit odd to me but the very fast majority looks great! |
|
OK, sounds good to me. Let's go ahead with this one despite the tests failing. |
|
The failure is related to the fix #33. Should be fine. |
I merge too quickly with the other PR -- these address the points raided by @beckermr